package com.ayu.scalalearn.chapter06

/**
  * @Author 徐林玉
  * @Description Test15Enumeration
  * @Date 2022/8/2 14:46
  * @Version 1.0
  */
object Test15Enumeration {


  def main(args: Array[String]): Unit = {
    println(WorkDay.MONDAY)
  }

}


object WorkDay extends Enumeration{

  val MONDAY = Value(1,"Monday")

  val Tuesday  = Value(2,"Tuesday")
}
